home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
earcd
/
dev
/
c
/
amcsrc2.lha
/
AMCSources2
/
NeuralN
/
CPARSER.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-06
|
1KB
|
54 lines
/*
*-----------------------------------------------------------------------------
* file: cparser.h
* desc: simple command parser
* by: patrick ko
* date: 22 aug 91
*-----------------------------------------------------------------------------
*/
#define CMD_NULL 0
typedef struct {
int cmdno;
char * cmdstr;
} CMDTBL;
/*
* #define your own commands here starting from 1
* -* modifiable *-
*/
#define CMD_DIMINPUT 1
#define CMD_DIMOUTPUT 2
#define CMD_DIMHIDDENY 3
#define CMD_DIMHIDDEN 4
#define CMD_TRAINFILE 5
#define CMD_TOTALPATT 6
#define CMD_DUMPFILE 7
#define CMD_DUMPIN 8
#define CMD_RECOGFILE 9
#define CMD_OUTFILE 10
#define CMD_TRAINERR 11
#define CMD_TOLER 12
#define CMD_REPORT 13
#define CMD_TIMER 14
#define CMD_TDUMP 15
#define CMD_WPOS 16
#define CMD_WNEG 17
#define CMD_COMMENT 18
#ifdef __TURBOC__
int cmdsearch (char *, char *);
int cmdinit (int, char **);
int cmdget (char *);
#else
int cmdsearch ( );
int cmdinit ( );
int cmdget ( );
#endif